package com.ajl.wx.beans.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author HouXinLin
 * @since 2020-09-24
 */

@TableName("tb_wechat_user")
public class WechatUserPO extends Model<WechatUserPO> {

    private static final long serialVersionUID = 1L;

    @TableId("wechat_id")
    private String wechatId;

    @TableField("nickName")
    private String nickName;

    @TableField("avatarUrl")
    private String avatarUrl;

    @TableField("gender")
    private String gender;


    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getWechatId() {
        return wechatId;
    }



    public void setWechatId(String wechatId) {
        this.wechatId = wechatId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    @Override
    protected Serializable pkVal() {
        return this.wechatId;
    }

    @Override
    public String toString() {
        return "WechatUserPO{" +
                "wechatId='" + wechatId + '\'' +
                ", nickName='" + nickName + '\'' +
                ", avatarUrl='" + avatarUrl + '\'' +
                ", gender='" + gender + '\'' +
                '}';
    }
}
